/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved.
 * distributed with this file and available online at
 */
package com.lap.auth.adapter.driving.persistence.user.mapper;

import com.lap.auth.adapter.driving.persistence.user.po.UserPo;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

  void insert(UserPo userPo);

  int deleteByPrimaryKey(Integer userId);

  UserPo selectByPrimaryKey(Integer id);

  UserPo selectByUserName(String userName);

  List<UserPo> selectByIds(List<Integer> idList);

  int updateByPrimaryKey(UserPo userPo);
}
